package com.yzh.design.demo;

import java.util.Date;

public class ActivityController {
    public Activity queryActivityInfo(Long id) {
        Activity activity = new Activity();
        activity.setId(10000L);
        activity.setName("图书嗨乐");
        activity.setDesc("图书优惠券分享激励分享活动第⼆期");
        activity.setStartTime(new Date());
        activity.setStopTime(new Date());
        activity.setStock(new Stock(1000,1));
        return activity;
    }
}
